package com.ro.model.file.upload.returns;

/**
 * Created by wf on 17-9-21.
 */
public class FileRet {

    private String code;
    private String msg;
    private FileDataRet data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public FileDataRet getData() {
        return data;
    }

    public void setData(FileDataRet data) {
        this.data = data;
    }

    public FileRet(String code, String msg, FileDataRet data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }

    public FileRet(String code, String msg, String src , String title) {
        this.code = code;
        this.msg = msg;
        this.data = new FileDataRet(src,title);
    }

    public FileRet(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
